<%--
  Created by IntelliJ IDEA.
  User: 86166
  Date: 2023/4/12
  Time: 15:56
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<c:set var="url" value="http://localhost:8080/OrderFoodForWebMaven"></c:set>
<c:set var="ctx" value="<%=request.getContextPath()%>"></c:set>
<html>
<head>
    <title>吃了喵——用户主页</title>
    <script src="${ctx}/js/jquery.min.js"></script>
    <script src="${ctx}/js/user_home.js"></script>
</head>
<body>
<div id="container">
    <div id="business_list">
        <c:forEach items="${tBusinessInfos}" var="tBusinessInfo">
        <div style="border: 1px solid black;margin: 10px auto">
            <p onclick="jumpToOrder(this)">${tBusinessInfo.name}</p>
            <p>联系电话：${tBusinessInfo.tel}</p>
        </div>
        </c:forEach>
    </div>
</div>
</body>
</html>
